﻿
namespace Library.Collections.Generic
{
    public interface IDeque<TElement> : IDequeReadOnly<TElement>, IIsReadOnly
    {
        bool Pop(Position position);

        bool Pop(Position position, out TElement item);

        bool Push(Position position, TElement item);
    }
}
